Closed
Bug 619522
Opened 14 years ago
Closed 14 years ago
getPlatformLocales needs to special case 64-bit platforms
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
Attachments
(1 file, 2 obsolete files)
1.82 KB,
patch
|
bhearsum
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
In Buildbot 0.7.x land we do some munging for 64-bit platforms to make sure that they parse shipped-locales as if they were their 32-bit version. That's done here: http://hg.mozilla.org/build/buildbotcustom/file/917bb931619e/l10n.py#l99
In 0.8.x land, this parsing is done here: http://hg.mozilla.org/build/tools/file/tip/lib/python/release/platforms.py#l43
And there is no such munging. Because of this, we don't get the correct list of locales for 64-bit Mac and Linux. Specifically, ja or ja-JP-mac is missing.
We need to fix this.
Updated•14 years ago
|
Priority: -- → P3
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → bhearsum
Assignee | ||
Comment 2•14 years ago
|
||
I _think_ this is all we need to do for this bug. Will be doing a staging run to confirm.
Attachment #499535 -
Flags: review?(rail)
Updated•14 years ago
|
Attachment #499535 -
Flags: review?(rail) → review+
Assignee | ||
Comment 3•14 years ago
|
||
Turns out that shippedlocales2buildbot needed some adjustment!
Attachment #499535 -
Attachment is obsolete: true
Attachment #499592 -
Flags: review?(rail)
Comment 4•14 years ago
|
||
Comment on attachment 499592 [details] [diff] [review]
fix shipped locale munging
> elif filepath.endswith('.exe'):
> ret['format'] = 'exe'
>- m = re.search("(partner-repacks/[-a-zA-Z0-9_]+/|)(win32|mac|linux-i686)/([-a-zA-Z]+)/((?i)%s) Setup (\d+\.\d+(?:\.\d+)?(?:\w+\d+)?(?:\ \w+\ \d+)?)\.exe" % product, filepath)
>+ m = re.search("(partner-repacks/\w+/|)(win32|mac|linux-i686)/([-a-zA-Z]+)/((?i)%s) Setup (\d+\.\d+(?:\.\d+)?(?:\w+\d+)?(?:\ \w+\ \d+)?)\.exe" % product, filepath)
The patch looks good. The only question here, why are we looking for exe files in mac|linux-i686 directories? :)
Attachment #499592 -
Flags: review?(rail) → review+
Comment 5•14 years ago
|
||
I tested this patch in staging and it worked for ja/linux64 and ja-JP-mac/macosx64 l10n repacks.
Assignee | ||
Comment 6•14 years ago
|
||
Comment on attachment 499592 [details] [diff] [review]
fix shipped locale munging
No good reason probably....this hunk wasn't supposed to changed either, I think I forgot to merge before I diffed!
Assignee | ||
Comment 7•14 years ago
|
||
Same as before, just after a merge to get rid of the signing scripts hunk. Carry review forward.
Attachment #499592 -
Attachment is obsolete: true
Attachment #500037 -
Flags: review+
Assignee | ||
Comment 8•14 years ago
|
||
This patch worked fine for me in a 3.6.14 staging run.
Assignee | ||
Comment 9•14 years ago
|
||
Comment on attachment 500037 [details] [diff] [review]
same patch after merging
Landed this: changeset: 1941:ccbb8cf73bf4
Attachment #500037 -
Flags: checked-in+
Assignee | ||
Comment 10•14 years ago
|
||
We should be all good here in the future.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•